if __name__ == '__main__':
    num = 100
    squar_sum = (2 * num + 1) * (1 + num) * (num) // 6
    sum_squar = pow((1 + num) * num // 2, 2)
    print(sum_squar - squar_sum)
